import React from 'react'
import TopBar from '../TopBar'
import Content from '../Content'
import MainHead from '../MainHead'
import {BottomBar} from '../BottomBar'
class Backend extends React.Component{
    state={
        CategoriesId:1,
        tag:this.props.location.search?'new':'hot'

    }
    render(){
        return(
            <div>
                <MainHead/>
                <TopBar Tab={'Backend'}/>
                <Content Tab={'Backend'}  CategoriesId={this.state.CategoriesId}/>
                <BottomBar Tab={this.state.tag}/>
            </div>
        )
    }
}

export default Backend